package com.bx.implatform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bx.implatform.entity.secondary.SecondaryAdmin;
import com.bx.implatform.vo.SecondaryAdminVO;

public interface SecondaryAdminService extends IService<SecondaryAdmin> {

    /**
     * 根据账户查询用户
     *
     * @param account 账户
     * @return 用户信息
     */
    SecondaryAdmin findUserByAccount(String account);

    /**
     * 根据id查询用户
     *
     * @param id 用户id
     * @return 用户信息
     */
    SecondaryAdminVO findUserById(Integer id);

}
